/**
 * Created by Administrator on 2017/4/6.
 */
import {Component,OnInit} from "@angular/core";
import {ActivatedRoute} from "@angular/router";

@Component({
    selector: "welcomde",
    templateUrl: "page/welcome/welcome.html",
    styleUrls: ["page/welcome/welcome.css"]
})

export class WelcomeComponent {

    constructor(private _router: ActivatedRoute) {

    }

    ngOnInit(){
        this._router.params.map(params=>{
            console.log(params)
        })
    }
}